package com.gonsin.gview.model.form;

import com.gonsin.gview.model.GFormItemModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("分隔线")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GBlockEndModel extends GFormItemModel {

    @ApiModelProperty("text_input表示文本框，还有check_box\\file\\radio\\rich_text\\text_input\\tree_check_box\\tree_selector")
    private String itemType = "block_end";

    @ApiModelProperty("分隔线显示的文本")
    private String name;

    @ApiModelProperty("根据情况显示")
    private String showIf;

    @Override
    public GFormItemModel tClone() {
        return this;
    }
}
